package com.per.mybootall.test.testReflect;

import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2021/11/17
 * Time: 9:26
 * Description:
 */
@Service
public class payImpl implements pay{
    @Override
    public boolean aliPay() {
        System.out.println("调用了支付宝支付");
        return false;
    }

    @Override
    public boolean wechatPay() {
        System.out.println("调用了微信支付");
        return false;
    }

    @Override
    public boolean bankPay(String name,String money) {
        System.out.println("调用了银行支付"+name+":"+money);
        return false;
    }
}
